
/*
	"Hemi" JavaScript Framework
	Engine for Web Applications 3.1
	Composite file "hemi.comp.js" release: 3.1.9
	Copyright 2002 - 2010. All Rights Reserved.
	Author: Stephen W. Cote
	Email: sw.cote@gmail.com
	Project: http://www.whitefrost.com/Hemi/
	BSD License: http://www.whitefrost.com/Hemi.license.txt
*/
(function(){H.namespace("css",H,{toggleStyleSheet:
function(s,b){var a=document.documentElement.getElementsByTagName("link"),i=0;for(;i<a.length;i++)if(a[i].getAttribute("title")==s)a[i].disabled=(!b);},StyleSheetMap:[],loadStyleSheet:
function(u,n){var _s=H.css.StyleSheetMap,o,s,l;if(!n)n=u;if(_s[n])return;if(!u.match(/^\//))u=H.hemi_base+u;if(typeof document.createStyleSheet!=D.U){o=document.createStyleSheet(u);if(o)_s[n]=o;}else{var s="@import url("+u+");";l=document.createElement("link");l.setAttribute("href",u);l.setAttribute("rel","stylesheet");document.getElementsByTagName("head")[0].appendChild(l);}},getAbsoluteTop:
function(o,r){return H.css.getAbsolutePosition(o,r,1);},getAbsoluteLeft:
function(o,r){return H.css.getAbsolutePosition(o,r,0);},getAbsolutePosition:
function(o,r,b){var c=o,i=0;while(c!=null&&(!r||r!=c)&&c.nodeName&&!c.nodeName.match(/body/i)){i+=(b?(c.offsetTop?c.offsetTop:0):(c.offsetLeft?c.offsetLeft:0));c=c.offsetParent;}return i;},decodeJSON:
function(s){var r=/\{#HF_([A-Za-z0-9_]+){/,rf=/{#HF_[A-Za-z0-9_]*/,a,n,o;a=s.match(r);if(!a||a.length<2)return 0;n=s.replace(rf,"").replace(/\}$/,"");try{eval("o={"+a[1]+":"+n+"};");}catch(e){alert(e.message?e.message:e.description);o=0;}return o;}});}());
/* End Hemi Framework 3.1 */
